/**
 * 角色查询参数
 */
export interface RoleQuery extends PageQuery {
  filter?: string;
}


export  interface RoleItem {
  name: string;
  isDefault: boolean;
  isStatic: boolean;
  isPublic: boolean;
  concurrencyStamp: string;
  id: string;
  extraProperties: any;
}

export interface RoleItemAdd {
  name:string;
  isDefault:boolean;
  isPublic:boolean;
}
export interface RoleItemUpdate{
  name:string;
  isDefault: boolean;
  isPublic: boolean;
  concurrencyStamp: string;
}
export interface RoleDeleteRequest{
  id:string;
}
 

/**
 * 角色分页
 */
export type RolePageResult = PageResult<RoleItem[]>;

/**
 * 角色表单对象
 */
export interface RoleForm {
  /**
   * 角色ID
   */
  id?: number;

  /**
   * 角色编码
   */
  code: string;
  /**
   * 数据权限
   */
  dataScope?: number;

  /**
   * 角色名称
   */
  name: string;
  /**
   * 排序
   */
  sort?: number;
  /**
   * 角色状态(1-正常；0-停用)
   */
  status?: number;
}
